//
//  BN_DynamicBaseData.h
//  BabyNow
//
//  Created by 刘泽琛 on 14-3-29.
//  Copyright (c) 2014年 iMobile. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "NotificationMacro.h"
#import "AppMacro.h"
#import "MJRefresh.h"
#import "IMB_TimeFormatModel.h"
#import "BN_UserHelper.h"
#import "BN_UserInfo.h"

typedef void(^Dynamic_Notice_ReloadList)(BOOL isReload,BOOL isScrollToTop);

typedef void(^RowForCellReload)(NSArray *indexArr,BOOL isAll);


@interface BN_DynamicBaseData : NSObject
@property (nonatomic, strong) RowForCellReload rowReload;
@property (nonatomic, strong) Dynamic_Notice_ReloadList listReload;
@property (nonatomic) BOOL isScrollToTop;

// method
- (void)toDynamic_NoticeReloadList:(Dynamic_Notice_ReloadList)reloadList;

// 单行刷新
- (void)tableViewRowForCellReload:(RowForCellReload)rowReload;


// 动态权限
- (void)dynamicUserType:(UIButton *)button fengxiangBtn:(UIButton*)fengxiangBtn userType:(NSInteger)userType;

// 通知权限
- (void)noticeUserType:(UIButton *)button fengxiangBtn:(UIButton*)fengxiangBtn userType:(NSInteger)userType;

- (void)deallocImageCache;

@end
